﻿<template>
	<iframe :src="src" :style="'padding:1px;width:100%;border:none;overflow:hidden;height:'+height+'px;'"></iframe>
</template>
<script>
	import ResizeMixin from "/vue/utils/ContentHeightMixin.js"; 

	module.exports = {
		mixins: [ResizeMixin],
		computed: {
			src() {
				return this.$route.meta.iframeSrc;
			}
		}
	}
</script>